package com.tcoiss.datafactory.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.tcoiss.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 销售类型配置对象 sale_type_config
 * 
 * @author zw
 * @date 2021-05-27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sale_type_config")
public class SaleTypeConfig implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 类型编码 */
    @Excel(name = "类型编码")
    private String saleTypeNo;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String saleTypeName;

    /** 单据类型名称 */
    @Excel(name = "单据类型名称")
    private String billTypeName;

    /** 单据类型编码 */
    @Excel(name = "单据类型编码")
    private String billTypeNo;

    /** 集成表名称 */
    @Excel(name = "集成表名称")
    private String tableName;

    /** 业务类型编码 */
    @Excel(name = "业务类型编码")
    private String bizTypeNo;

    /** 关联字段名 */
    @Excel(name = "是否预定")
    private String isBook;

    /** 换货类型编码 */
    @Excel(name = "换货类型")
    private Integer barterType;

    /** 补差方式编码 */
    @Excel(name = "补差方式")
    private Integer compensationMode;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
